.container {
  margin: -.2rem;
  counter-reset: order 0;
}
.add {
  position: relative;
  display: inline-flex;
  height: 1.6rem;
  padding: 0 .4rem;
  border: 0;
  color: #555;
  background-color: #fff;
  border: 1px dashed #555;
  border-radius: .2rem;
  font-size: .7rem;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  &.hide {
    display: none;
  }
  &:active {
    .btn-bg {
      background-color: #f1f1f1;
    }
  }
}
.add-text {
  position: relative;
  z-index: 1;
}
.btn-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
}
.file {
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  height: 1.6rem;
  margin-bottom: .4rem;
  counter-increment: order;
  &::before {
    content: counter(order);
    flex-shrink: 0;
    min-width: 1rem;
    height: 1.2rem;
    padding: 0 .1rem;
    font-size: .7rem;
    color: #fff;
    background-color: #555;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .2rem;
    margin-right: .4rem;
  }
}
.item-inner {
  position: relative;
  flex: 1;
  height: 1.6rem;
  line-height: 1.6rem;
  font-size: .7rem;
  a, span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.del {
  flex-shrink: 0;
  padding-left: .4rem;
  color: #aaa;
}